package com.imeem.api.data;

import java.net.MalformedURLException;
import java.net.URL;

public class PhotoData extends MediaData
{
   public static final String PHOTO_TYPE = "photo";
      
   @Override
   public String getType()
   {
      return PhotoData.PHOTO_TYPE;
   }
   
   private String _caption;
   public String getCaption() { return _caption; }
   public void setCaption(String caption) { _caption = caption; }
   
   private URL _thumbnailUrl;
   public URL getThumbnailURL() { return _thumbnailUrl; }
   public void setThumbnailURL(String url) throws MalformedURLException
   {
      _thumbnailUrl = new URL(url);
   }
   
   private URL _imageUrl;
   public URL getImageURL() { return _imageUrl; }
   public void setImageURL(String url) throws MalformedURLException
   {
      _imageUrl = new URL(url);
   }
   
   private URL _fullImageUrl;
   public URL getFullImageURL() { return _fullImageUrl; }
   public void setFullImageURL(String url) throws MalformedURLException
   {
      _fullImageUrl = new URL(url);
   }
}
